package org.springframework.beans.factory.support;

import org.springframework.beans.BeansException;
import org.springframework.beans.support.BeanDefinitionRegistry;
import org.springframework.core.ResourceLoader;

public interface BeanDefinitionReader {

    BeanDefinitionRegistry getBeanDefinitionRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinition(String location) throws BeansException;
}
